import { createSSRApp } from 'vue'
import App from './App.vue'
import { pinia, setupStore } from './store'

export function createApp() {
  const app = createSSRApp(App)

  setupStore(app)

  return {
    app,
    pinia, // 这里return的作用是什么？？？？？
  }
}
